package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.grammar.terminals.DistintoNaturalToken;

public class REL2 extends NonTerminalSymbol implements REL{
	
	private DistintoNaturalToken distintoNaturalToken;

	public REL2(DistintoNaturalToken distintoNaturalToken) {
		super();
		this.distintoNaturalToken = distintoNaturalToken;
	}

	@Override
	public String getRepresentation() {
		return "{"+this.getClass().getSimpleName()+" -> "+distintoNaturalToken.getRepresentation()+"}";
	}

	public DistintoNaturalToken getDistintoNaturalToken() {
		return distintoNaturalToken;
	}

}
